package vn.com.vega.music.view.custom;

import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;

public class JavaScripInterface {
	Context mContext;

    /** Instantiate the interface and set the context */
	JavaScripInterface(Context c) {
        mContext = c;
    }

    /** Show a toast from the web page */
    public void showAdvertiment(String adUrl) {
    	Intent goClip = new Intent(Intent.ACTION_VIEW,
				Uri.parse(adUrl));
		mContext.startActivity(goClip);
    }
}
